package pl.dalkia.services.scanner;

import pl.dalkia.services.scanner.services.inputanalizer.InputAnalizer;

public class Main {

	/**
	 * Method starting Log Scanner application.
	 * 
	 * @param args array of arguments passed to Log Scanner application.
	 * args[0] config file path
	 * args[1] log file path
	 * args[2] output file path
	 */
	public static void main(String[] args) {
		InputAnalizer inputAnalizer = new InputAnalizer();
		inputAnalizer.analizeInput(args);
		Scanner scanner = new ScannerFactory().build(args);
		scanner.scan();
	}
}
